package com.ssm.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zy9524
 * @company SocialistSuccessor
 * @date 2019/6/9 17:18
 */

/**
 *@Data   //@ToString，@EqualsAndHashCode和@Getter/@Setter和的特征@RequiredArgsConstructor
 *@NoArgsConstructor //  无参构造
 *@AllArgsConstructor //全参构造
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Role {
    private int id;
    private String rolename;
    private String duties;
}
